package com.zecan.blog.common.status.code;

/**
 * @ClassName BlogResultCode
 * @Description
 * @date 2022/10/28 18:42
 * @Version 1.0
 * 状态码
 */

public interface BlogResultCode {
    Integer OK = 0;
    Integer UPLOAD_IMAGE_FAIL = -1;


    Integer REQUEST_FAIL = -1;
    Integer METHOD_ERROR = -2;
    Integer DATA_ERROR = -3;
    Integer HTTP_ERROR = -4;
    Integer SQL_ERROR = -5;
    Integer SQL_OPERA_ERROR = -6;
    Integer NULL_POINT_ERROR = -7;
    Integer ARGS_ERROR = -8;
    Integer SECURITY_ERROR = -9;
    /** 用户登录失败 */
    Integer USER_LOGIN_FAIL = -10;

    Integer TOKEN_ERROR = -12;
    Integer DEL_ERR = -13;
    Integer UNKNOWN_ERROR = -999;
}
